<?php
	require 'ShopDAO.inc';
	$name = trim($_POST['shopname']);
	$title = trim($_POST['shoptitle']);
	$address = trim($_POST['shopaddress']);
	$telephone = trim($_POST['shopphone']);
	$email = trim($_POST['shopemail']);
	$latitude = trim($_POST['shoplatitude']);
	$longitude = trim($_POST['shoplongitude']);
	$image = trim($_POST['shopimage']);
	$description = trim($_POST['shopdescription']);
	
	$shop = new shop();
	
	$shop -> addshop($name, $title, $address, $telephone, $email, $latitude, $longitude, $image, $description);
	
?>